﻿<%@ Page Language="C#" MasterPageFile="~/Template.master" AutoEventWireup="true" CodeFile="TimKiem.aspx.cs" Inherits="TimKiem" Title="Tìm Kiếm"%>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            font-size: large;
        }
        .style6
        {
            width: 100%;
        }
    .style12
    {
        width: 220px;
        height: 29px;
    }
    .style14
    {
        width: 220px;
        height: 235px;
    }
    .style13
    {
        width: 220px;
        height: 10px;
    }
    .style11
    {
        width: 220px;
    }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="style6">
        <tr>
            <td align="center">
                &nbsp;</td>
        </tr>
        <tr>
            <td align="center">
            <asp:DataList ID="DTLHoaCungLoai" runat="server" 
                onitemcommand="DTLHoaCungLoai_ItemCommand" RepeatColumns="2" 
                style="margin-right: 0px" Width="525px" DataKeyField="MaLoai">
                <ItemTemplate>
                    <table class="style1" 
                        
                        style="background-image: url('Image/Nentrong.jpg'); background-repeat: no-repeat; height: 328px; width: 250px;">
                        <tr>
                            <td align="left" class="style12">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Label ID="Label7" runat="server" ForeColor="#990033" 
                                    Text='<%# Eval("TenLoai") %>'></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="style14">
                                <asp:ImageButton ID="ImageButton1" runat="server" Height="224px" 
                                    ImageUrl='<%# Eval("HinhAnh") %>' style="margin-top: 0px" Width="215px" />
                            </td>
                        </tr>
                        <tr>
                            <td class="style13">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Label ID="Label1" runat="server" 
                                    Text='<%# Eval("Mahoa") %>'></asp:Label>
                                &nbsp;-
                                <asp:Label ID="Label6" runat="server" ForeColor="Red" 
                                    Text='<%# Eval("Giahoa") %>'></asp:Label>
                                VNĐ</td>
                        </tr>
                        <tr>
                            <td class="style11">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:LinkButton ID="LinkButton6" runat="server" 
                                    CommandArgument='<%# Eval("Mahoa") %>' CommandName="chon" EnableTheming="True" 
                                    Font-Size="12pt" ForeColor="#990033" Height="20px" Width="72px">Chi Tiết</asp:LinkButton>
                                <asp:LinkButton ID="LinkButton5" runat="server" EnableTheming="True" 
                                    Font-Size="12pt" ForeColor="#990033" Height="20px" Width="72px">Mua hoa</asp:LinkButton>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:DataList>
            </td>
        </tr>
    </table>
    <asp:Label ID="lblthongbao" runat="server" ForeColor="#FF3300"></asp:Label>
    <br />
    </asp:Content>

